package com.wanczy.service;

import java.util.List;

import com.wanczy.pojo.Admin;
import com.wanczy.pojo.GoodsAndShop;
import com.wanczy.pojo.Shop;
import com.wanczy.pojo.User;

public interface AdminService {
	
	public Admin findByPassAndName(String adminName,String adminPass);
	
	public List<User> findByNameLike(String userName);
	
	public List<Shop> findByShopName(String shopName);
	
	public boolean updShop(Integer shopId,Integer shopState);
	
	public boolean updUser(Integer userId,Integer userState);
	
	public List<GoodsAndShop> findByGoodsName(String goodsName);
	
	public boolean updGoods(Integer goodsId,Integer goodsState);
}
